package com.xwj.redpacket.dao;

import com.xwj.redpacket.domain.RedDetail;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RedDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RedDetail record);

    int insertSelective(RedDetail record);

    RedDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RedDetail record);

    int updateByPrimaryKey(RedDetail record);

    void batchInsert(List<RedDetail> redDetails);
}